package test;

import java.util.ArrayList;
import java.util.Scanner;

public class TestMain {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		Student student=new Student(0,"Yan",1712,"man","1999-08-30",null);
		TeacherDao sdm1 = new TeacherDaoJDBCImpl();
		StudentDao sdm2 = new StudentDaoJDBCImpl();
		//sdm.writeStudent(student);
		//int id=sc.nextInt();
		//System.out.println(sdm.searchStudent(10).toString());
		/*double javaScore=sc.nextDouble();
		double mathScore=sc.nextDouble();
		double sportsScore=sc.nextDouble();
		sdm.insertJavaScore(id, javaScore);
		sdm.insertMathScore(id, mathScore);
		sdm.insertSportsScore(id, sportsScore);*/
		//sdm2.selectSubject(1, "java");
		System.out.println(sdm2.printInfo(1).toString());
		/*ArrayList<Student> studentList = sdm1.displayByGrade(1712);
		for(int i=0;i<studentList.size();i++) {
			System.out.println(studentList.get(i).toString());
		}*/
	}
}
